package com.qf.base.dto.sms;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.base.dto.sms
 * @Description: 短信的数据封装
 * @Date 2022/8/1 19:08
 */
public class SmsDTO {
    /**
     * 手机号
     */
    private String phone;

    /**
     * 验证码
     */
    private String code;

    /**
     * 服务类型id
     * 证明自己没有责任
     * 1. 登录  2. 注册 3. 支付  4. 广告通知
     */
    private Integer typeId;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    @Override
    public String toString() {
        return "SmsDTO{" +
                "phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                ", typeId=" + typeId +
                '}';
    }
}
